package com.zimmor.user.client;

import org.springframework.http.StreamingHttpOutputMessage;
import org.springframework.stereotype.Component;

/**
 * @Author:zimmor
 * @Date: 2021/3/25 23:06
 * @Description
 * @version: 1.0.0
 */
@Component
public class BaseHystrix implements LabelClient{
    @Override
    public String getName(String id) {
        System.out.println("熔断器启动");
        return "你的网络欠佳，请稍后再试";
    }
}
